<?php
namespace View;

class HeadmenuView{
	public function DoHeadmenu($buttons){
		$html = "<div id='head'>
  		<div class='holder'>
  			<h1>ANTON.</h1>
  			<p id='slogan'>Gör bra saker osv osv.</p>
  			<div id='headmenu'>
  				<ul>
  					<li>
  						<a class='active' href='index.php'>Hem.</a>
  					</li>";
					
					foreach($buttons as $b){
						$html .= $b;
					}
					
		$html .="
  					<li>
  						<a href='index.php?".NavigationView::NAVLOCATION."=".NavigationView::WEBLOG."'>Weblog.</a>
  					</li>
  					<li>
  						<a href='index.php?".NavigationView::NAVLOCATION."=".NavigationView::PORTFOLIO."'>Galleri.</a>
  					</li>
  					<li>
  						<a href='#'>Kontakt.</a>
  					</li>
  				</ul>
  			</div>
  		</div>
  </div>";
  return $html;
	}
	
	public function DoAdminButton(){
		return "<li>
					<a href='#'>Admin</a>
			</li>";
	}
	public function DoMemberButton(){
		return "<li>
					<a href='#'>Min profil</a>
			</li>";
	}
}

?>